<%@ page language="java"  pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>系统登录</title>
		<link href="css/css.css" rel="stylesheet" type="text/css" />



		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<style>
body {
	font-size: 12px;
}

table {
	font-size: 12px;
}

</style>
 <script type="text/javascript">
  if(''!='${messages}'){
  alert('${messages}');
  }
  </script>
		<script type="text/javascript">
			
			function checkValue(){
			  var userkey=document.getElementById("dysfz").value;
			  var password=document.getElementById("dyzhenghao").value;
			  if(""==userkey){
			     document.getElementById("userid").innerHTML="请输入身份证号码！";
			     return false;
			  }if(""==password){
			     document.getElementById("passwordid").innerHTML="请输入导游资格证号码或导游证号码！";
			      return false;
			  }
			}

</script>
	</head>

	<body>
		<form action="login" method="post" onsubmit="return checkValue();" name="userForm" >
			<input type="hidden" id="tologin" name="tologin" value="false">
			<table width="100%" height="95%">
				<tr>
					<td>
						<table align="center" width="51%"
							style="margin-top: 50px;">
							<tr>
								<td>
									<fieldset>
										<legend>
											系统登录(330623198004183570/D-3301-014626)
										</legend>
										<div align="center" id="menuTreeDiv"
											style="height: 240px; solid 0px black; overflow: auto; border-color: #608c8c;">
											<table style="border: solid 0px; "
												cellpadding="0" cellspacing="0" style="margin-top: 55px;">
												<tr height="60px">
													<td width="29%">
														身份证号码：
													</td>
													<td width="41%" align="left">
														<input type="text" id="dysfz" name="dysfz" value="${user.dysfz}"
															>
														<font color="red">*</font>


													</td>
													<td width="30%">
														<span><div id="userid" style="color: red;"></div>
														</span>
													</td>
												</tr>
												<tr height="60px">
													<td>
														导游资格证号码（导游证号码）：
													</td>
													<td>
														<input type="text" id="dyzhenghao" name="dyzhenghao" value="${user.dyzhenghao}">
														<font color="red">*</font>

													</td>
													<td>
														<span><div id="passwordid" style="color: red;">
																${error}
															</div> </span>
													</td>
												</tr>
												<tr height="60px">
													<td></td>
													<td align="left">
														<input type="submit" value="登录">
														&nbsp; &nbsp; &nbsp;
														<input type="reset" value="重置">
													</td>
													<td></td>
												</tr>
											</table>
										</div>
									</fieldset>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
